from django.conf.urls import url
from . import views

urlpatterns = [
    # url(r'^usernames/(?P<username>\w{5,20})/count/$',views.RegisterUsernameCountAPIView.as_view(),name='usernamecount'),
    url(r'^qq/statues/$',views.OauthQQUrlAPIView.as_view(),name='oauth'),
    url(r'^qq/users/$',views.OAuthQQUserAPIView.as_view(),name='code'),
    url(r'sina/authorization/$', views.OAuthWeiBoUrlAPIView.as_view()),
    url(r'sina/user/$', views.OAuthWeiBoAPIView.as_view())
]